<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>Iper Test On Line</title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <link href="jquery-ui.css" rel="stylesheet" type="text/css"/>
        <script src="jquery.min.js"></script>
        <script src="jquery-ui.min.js"></script>
        <script>
            function showProfile()
            {
                $.ajax({
                    type: 'POST',
                    url : 'profile.php',
                    success :function(data){
                        $('#dialogProfile').dialog('open');
                        $('#dialogProfile').html(data);
                        $('#dialogProfile').dialog( "option", "title", "Profilo ");
                    }
                })
            }

            function showTests()
            {
                $.ajax({
                    type: 'POST',
                    url : 'showTests.php',
                    success :function(data){
                        $('#dialogProfile').dialog('open');
                        $('#dialogProfile').html(data);
                        $('#dialogProfile').dialog( "option", "title", "Test ");
                    }
                })
            }



            $('document').ready(function(){
                $('#dialogProfile').dialog({
                    width: 900,
                    height: 630,
                    modal: true,
                    position: 'top',
                    autoOpen : false
                });
            });
        </script>
        <style type="text/css">
            @import url("style.css");


            a#viewcss{color: #00f;font-weight: bold; font-size: 12px;}

            #header
            {
              text-align: right;
              font-size: 26px;
            }
            #menuUp {
                color: blue;
                font-size: 10;
            }

            #menuUp a{
                text-decoration: none;
            }

            #dialogProfile
            {
                background-color: black;
            }

        </style>

    </head>
    <body>
        <div id="dialogProfile"></div>
        <div id="container">

            <div id="container2">
                <div id="header">
                    Area studente - codice studente : <?= $_COOKIE["codiceUtente"]?>
                </div>
                <div id="navigation">
                    <div id="menuUp">
                        <table>

                            <tr>
                                <td style="text-align: left"><a href="javascript:showProfile()"><img src="../images/icons/PNG/Administrator.png" width="30" height="30" style="border: 0" />&nbsp;Profilo studente</a></td>
                            </tr>
                           
                            <tr>
                                <td style="text-align: left"><a href="javascript:showTests()"><img src="../images/icons/PNG/Folder Open.png" width="30" height="30" style="border: 0" />&nbsp;Test assegnati</a></td>
                            </tr>
                            <tr>
                                <td style="text-align: left"><a href="../portal/logout.php"><img src="../images/icons/PNG/logout.png" width="30" height="30" style="border: 0" />&nbsp;Logout</a></td>
                            </tr>
                        </table>


                    </div>
                </div>
                <hr style="color: blue" /><br />


                <div id="content">
                    <div id="contentHome">
                        <img src="../images/tastieraStudente.jpg"/>
                    </div>


                </div>

            </div>
        </div>
    </body>
</html>